package org.springframework.beans;

/**
 * @Name A
 * @Description: 循环依赖测试类
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-04-12 15:21:57
 **/
public class A {
    private B b;

    public void func() {
        System.out.println("执行 A 对象的 func() 方法... ...");
    }

    @Override
    public String toString() {
        return "A{" +
                "b=" + b +
                '}';
    }

    public B getB() {
        return b;
    }

    public void setB(B b) {
        this.b = b;
    }
}

